﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="dangtin" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">
        .style11
        {
            text-align: right;
            width: 200px;
        }
        .style12
        {
            text-align: center;
            width: 200px;
        }
        .style13
        {
            width: 242px;
        }
        .style14
        {
        }
        .style15
        {            text-align: center;
        }
        .style16
        {
            text-align: left;
        }
        .style17
        {
            text-align: left;
            width: 200px;
        }
        .style18
        {
            width: 200px;
            height: 34px;
        }
        .style20
        {
            text-align: right;
            width: 36px;
        }
        .style21
        {
            text-align: left;
            width: 36px;
        }
        .style23
        {
            width: 36px;
            text-align: center;
        }
        .style24
        {
            width: 36px;
            text-align: center;
            height: 32px;
        }
        .style25
        {
            text-align: center;
            width: 200px;
            height: 32px;
        }
        .style30
        {
            width: 36px;
            height: 34px;
        }
        .style31
        {
            height: 34px;
        }
        .style34
        {
            font-size: 7pt;
        }
        .style35
        {
            font-size: 8pt;
        }
        .style36
        {
            font-size: 9pt;
        }
        #fileUpload
        {
            width: 224px;
        }
        .style37
        {
            height: 32px;
        }
        .style38
        {
            text-align: right;
            width: 36px;
            height: 12px;
        }
        .style39
        {
            text-align: right;
            width: 200px;
            height: 12px;
        }
        .style40
        {
            height: 12px;
        }
        .style41
        {
            width: 36px;
            text-align: center;
            height: 27px;
        }
        .style42
        {
            text-align: center;
            width: 200px;
            height: 27px;
        }
        .style43
        {
            height: 27px;
        }
        .style44
        {
            width: 36px;
            text-align: center;
            height: 6px;
        }
        .style45
        {
            text-align: center;
            width: 200px;
            height: 6px;
        }
        .style46
        {
            height: 6px;
        }
        .style47
        {
            width: 36px;
            height: 31px;
        }
        .style48
        {
            height: 31px;
        }
        .style49
        {
            height: 39px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <a name="top"></a>
    <table style="width:100%; padding-top:30px; font-size:14px; font-family: Arial, Helvetica, sans-serif;">
        <tr>
            <td class="style41">
                </td>
            <td class="style42">
                <strong>Thông tin cơ bản</strong></td>
            <td colspan="2" class="style43">
                </td>
        </tr>
        <tr>
            <td class="style20">
                &nbsp;</td>
            <td class="style11">
                Loại tin rao : 
            </td>
            <td colspan="2">
                <asp:RadioButtonList ID="rdloaitinrao" runat="server" Height="16px" 
                    RepeatDirection="Horizontal" style="font-weight: 700" Width="376px">
                    
                </asp:RadioButtonList>
                
            </td>
        </tr>
        <tr>
            <td class="style20">
                &nbsp;</td>
            <td class="style11">
                Loại địa ốc : </td>
            <td colspan="" class="style14">
                <asp:DropDownList ID="cbxLoaiDiaOc" runat="server" Width="160px" Height="20px">
                </asp:DropDownList>
                
            </td>
            <td>
                <asp:DropDownList ID="cbxdacdiem" runat="server" Width="160px" Height="20px" >
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="style20">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style14">
                Tỉnh/ TP</td>
            <td>Quận/ Huyện</td>
        </tr>
        <tr>
            <td class="style20">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style14">
                <asp:DropDownList ID="cbxthanhpho" runat="server" Width="160"  AutoPostBack="true"
                    onselectedindexchanged="cbxthanhpho_SelectedIndexChanged">
                </asp:DropDownList>
                                
                
            </td>
            <td>
                <asp:DropDownList ID="cbxquan_huyen" runat="server" Width="160" 
                    AutoPostBack="true" onselectedindexchanged="cbxquan_huyen_SelectedIndexChanged">
                </asp:DropDownList>
                                
                
            </td>
            
        </tr>
        <tr>
            <td class="style20">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style14">
                Phường/ Xã</td>
            <td>
                &nbsp;</td>
            
        </tr>
        <tr>
            <td class="style20">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style14">
                <asp:DropDownList ID="cbxphuongxa" runat="server" Width="160" AutoPostBack="true">
                </asp:DropDownList>
                                
                
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style20">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style14">
                Số nhà/ lô</td>
            <td>
                Đường/ phố</td>
        </tr>
        <tr>
            <td class="style20">
                &nbsp;</td>
            <td class="style11">
                </td>
            <td class="style14">
                <asp:TextBox ID="txtSoNha" runat="server" Width="160px"></asp:TextBox>
            </td>
            <td style="font-weight: 700" class="style16">
                <asp:TextBox ID="txtTenDuong" runat="server" Width="160px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style20">
                &nbsp;</td>
            <td class="style11">
                Giá : </td>
            <td class="style14">
                <asp:TextBox ID="txtGia" runat="server" Width="160px" Text="0"></asp:TextBox>
            &nbsp;VNĐ</td>
            <td>
                <asp:DropDownList ID="cbxDonVi" runat="server" Width="160">
                    <asp:ListItem Value="0">Vui lòng chọn ...</asp:ListItem>
                    <asp:ListItem Value="Tổng diện tích">Tổng diện tích</asp:ListItem>
                    <asp:ListItem Value="m2">m2</asp:ListItem>
                    <asp:ListItem Value="Tháng">Tháng</asp:ListItem>
                </asp:DropDownList>
                                
                
            </td>
        </tr>
        <tr>
            <td class="style38">
                </td>
            <td class="style39">
                Thương lượng :</td>
            <td class="style40" colspan="2">
                &nbsp;<asp:RadioButtonList ID="rdThuongLuong" runat="server" Height="16px" 
                    RepeatDirection="Horizontal" Width="100px">
                    <asp:ListItem Selected="True">Có</asp:ListItem>
                    <asp:ListItem>Không</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td class="style20">
                &nbsp;</td>
            <td class="style11">
                Diện tích sử dụng : 
            </td>
            <td class="style14">
                <asp:TextBox ID="txtDTSD" runat="server" Width="160px" Height="22px"></asp:TextBox>
            &nbsp;m<sup><span class="style34">2</span></sup></td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style20">
                &nbsp;</td>
            <td class="style11">
                Diện tích khuôn viên :
            </td>
            <td class="style14">
                <asp:TextBox ID="txtChieungang" runat="server" Width="160px"></asp:TextBox>
            &nbsp;m <span class="style35">x</span>
            </td>
            <td>
                <asp:TextBox ID="txtChieudai" runat="server" Width="160px"></asp:TextBox>
            &nbsp;m</td>
        </tr>
        <tr>
            <td class="style20">
                &nbsp;</td>
            <td class="style11">
                Diện tích xây dựng :
            </td>
            <td class="style14">
                <asp:TextBox ID="txtChieungangxd" runat="server" Width="160px"></asp:TextBox>
            &nbsp;m <span class="style36">x</span>
            </td>
            <td>
                <asp:TextBox ID="txtChieudaixd" runat="server" Width="160px"></asp:TextBox>
            &nbsp;m</td>
        </tr>
        <tr>
            <td class="style24" >
                </td>
            <td class="style25" >
                <strong>Đặc điểm</strong></td>
            <td class="style37">
                </td>
            <td style="font-weight: 700" class="style37">
                Tiện ích khác</td>
        </tr>
        <tr>
            <td class="style21">
                &nbsp;</td>
            <td class="style17">
                Tình trạng pháp lý</td>
            <td class="style14">
                Số phòng khách</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style21">
                &nbsp;</td>
            <td class="style17">
                <asp:DropDownList ID="cbxTinhtrangphaply" runat="server" Width="180">
                    <asp:ListItem Value="0">Vui lòng chọn ...</asp:ListItem>
                    <asp:ListItem>Sổ đỏ</asp:ListItem>
                    <asp:ListItem>Sổ hồng</asp:ListItem>
                    <asp:ListItem>Giấy tay</asp:ListItem>
                    <asp:ListItem>Hợp đồng</asp:ListItem>
                    <asp:ListItem>Không xác định</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td class="style14">
                <asp:DropDownList ID="cbxPhongkhach" runat="server" Width="180">
                    <asp:ListItem Value="0">Vui lòng chọn ...</asp:ListItem>
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                    <asp:ListItem>4</asp:ListItem>
                    <asp:ListItem>5</asp:ListItem>
                    <asp:ListItem>6</asp:ListItem>
                    <asp:ListItem>7</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
                <asp:CheckBox ID="chbGantruong" runat="server" Text="Gần truờng" />
            </td>
        </tr>
        <tr>
            <td class="style21">
                &nbsp;</td>
            <td class="style17">
                Hướng tài sản</td>
            <td class="style14">
                Số phòng tắm/ vệ sinh</td>
            <td>
                <asp:CheckBox ID="chbGancho" runat="server" Text="Gần chợ" />
            </td>
        </tr>
        <tr>
            <td class="style21">
                &nbsp;</td>
            <td class="style17">
                <asp:DropDownList ID="cbxHuongtaisan" runat="server" Width="180">
                    <asp:ListItem Value="0">Vui lòng chọn ...</asp:ListItem>
                    <asp:ListItem>Nam</asp:ListItem>
                    <asp:ListItem>Đông Nam</asp:ListItem>
                    <asp:ListItem>Tây</asp:ListItem>
                    <asp:ListItem>Tây Nam</asp:ListItem>
                    <asp:ListItem>Bắc</asp:ListItem>
                    <asp:ListItem>Đông</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td class="style14">
                <asp:DropDownList ID="cbxPhongtam" runat="server" Width="180">
                    <asp:ListItem Value="0">Vui lòng chọn ...</asp:ListItem>
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                    <asp:ListItem>4</asp:ListItem>
                    <asp:ListItem>5</asp:ListItem>
                    <asp:ListItem>6</asp:ListItem>
                    <asp:ListItem>7</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
                <asp:CheckBox ID="chbInternet" runat="server" Text="Internet" />
            </td>
        </tr>
        <tr>
            <td class="style21">
                &nbsp;</td>
            <td class="style17">
                Số lầu</td>
            <td class="style14">
                Sô phòng khác</td>
            <td>
                <asp:CheckBox ID="chbTruyenhinhcap" runat="server" Text="Truyền hình cáp" />
            </td>
        </tr>
        <tr>
            <td class="style21" >
                &nbsp;</td>
            <td class="style17" >
                <asp:DropDownList ID="cbxLau" runat="server" Width="180">
                    <asp:ListItem Value="0">Vui lòng chọn ...</asp:ListItem>
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                    <asp:ListItem>4</asp:ListItem>
                    <asp:ListItem>5</asp:ListItem>
                    <asp:ListItem>6</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td class="style14">
                <asp:DropDownList ID="cbxPhongkhac" runat="server" Width="180">
                    <asp:ListItem Value="0">Vui lòng chọn ...</asp:ListItem>
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                    <asp:ListItem>4</asp:ListItem>
                    <asp:ListItem></asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
                <asp:CheckBox ID="chbBaigiuxe" runat="server" Text="Bãi giữ xe" />
            </td>
        </tr>
        <tr>
            <td class="style21">
                &nbsp;</td>
            <td class="style17">
                Số phòng ngủ</td>
            <td class="style14">
                &nbsp;</td>
            <td>
                <asp:CheckBox ID="chbSanvuon" runat="server" Text="Sân vườn" />
            </td>
        </tr>
        <tr>
            <td class="style21">
                &nbsp;</td>
            <td class="style17">
                <asp:DropDownList ID="cbxPhongngu" runat="server" Width="180">
                    <asp:ListItem Value="0">Vui lòng chọn ...</asp:ListItem>
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                    <asp:ListItem>4</asp:ListItem>
                    <asp:ListItem>5</asp:ListItem>
                    <asp:ListItem>6</asp:ListItem>
                    <asp:ListItem>7</asp:ListItem>
                    <asp:ListItem>8</asp:ListItem>
                    <asp:ListItem>9</asp:ListItem>
                    <asp:ListItem>10</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td class="style14">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style44">
                </td>
            <td class="style45">
                </td>
            <td class="style46">
                </td>
            <td class="style46">
                </td>
        </tr>
        <tr>
            <td class="style30">
                </td>
            <td class="style18">
                Đăng hình ảnh</td>
            <td class="style31" colspan="2">
                &nbsp;<asp:FileUpload ID="fileUpload" runat="server" onload="btnUpload_Load" />
                <asp:Label ID="lblLoi" runat="server" Text=""></asp:Label>
                </td>
        </tr>
        <tr>
            <td class="style47">
                </td>
            <td colspan="2" class="style48">
                <strong>Mô tả chi tiết tài sản ( tối đa 500 ký tự)</strong></td>
            <td class="style48">
                </td>
        </tr>
        <tr>
            <td class="style20">
                &nbsp;</td>
            <td class="style11">
                Tiêu đề : </td>
            <td class="style14" colspan="2">
                <asp:TextBox ID="txtTieuDe" runat="server" Width="378px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style20">
                &nbsp;</td>
            <td class="style11">
                Nội dung tóm tắt : </td>
            <td class="style14" colspan="2">
                <asp:TextBox ID="txtMoTaTaiSan" runat="server" Height="128px" 
                    TextMode="MultiLine" Width="374px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style49">
                </td>
            <td class="style49" style="text-align: right">
                Liên Hệ : </td>
            <td class="style49">
                <asp:TextBox ID="txtLienHe" runat="server" Width="160px"></asp:TextBox>
            </td>
            <td class="style49">
                </td>
        </tr>
        <tr>
            <td class="style23">
                &nbsp;</td>
            <td class="style12">
                &nbsp;</td>
            <td class="style14">
            &nbsp;&nbsp;&nbsp;
                </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style23">
                &nbsp;</td>
            <td style="text-align: right">
                &nbsp;</td>
            <td class="style14">
                <asp:Button ID="btndangtin" runat="server" Text="Đăng Tin" 
                    OnClick="btndangtin_Click" Width="85px" />
            &nbsp;&nbsp;&nbsp;
                <asp:Button ID="btnlamlai" runat="server" Text="Làm Lại" OnClick="btnlamlai_Click" 
                    Width="68px" />
            </td>
            <td style="text-align: left">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style23">
                &nbsp;</td>
            <td class="style15" colspan="3">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style23">
                &nbsp;</td>
            <td class="style12">
                &nbsp;</td>
            <td class="style14">
                &nbsp;</td>
            <td class="style13">
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="vunglogin" Runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="abc" Runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="Vung2" Runat="Server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="Vung3" Runat="Server">
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="Vung4" Runat="Server">
</asp:Content>
<asp:Content ID="Content8" ContentPlaceHolderID="Vung5" Runat="Server">
</asp:Content>

